<html><head><title>ToolBarToolTip</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">ToolBarToolTip()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#3A3966"><b>ToolBarToolTip</b></font>(#ToolBar, Button, Text$) </blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Associates the specified text to the #ToolBar button. A tool-tip text is a text which is displayed 
when the mouse cursor is over the button for a few time (usually a small yellow floating box). 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#ToolBar</i></td>
<td width="90%"> 
The toolbar to use. 

</td></tr>
<tr><td><i>Button</i></td>
<td> 
The toolbar button to set the tooltip. 

</td></tr>
<tr><td><i>Text$</i></td>
<td> 
The new text to associate with the toolbar button. If the text is empty, the tooltip 
is removed. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>
None.


</blockquote><p><b>Example</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  <b><font color="#3A3966">If</font></b> <font color="#3A3966">OpenWindow</font>(0, 0, 0, 150, 60, &quot;ToolBar&quot;, <font color="#924B72">#PB_Window_SystemMenu</font> | <font color="#924B72">#PB_Window_ScreenCentered</font>)
    <b><font color="#3A3966">If</font></b> <font color="#3A3966">CreateToolBar</font>(0,<font color="#3A3966"> WindowID</font>(0))
<font color="#3A3966">      ToolBarStandardButton</font>(0, <font color="#924B72">#PB_ToolBarIcon_New</font>)
<font color="#3A3966">      ToolBarStandardButton</font>(1, <font color="#924B72">#PB_ToolBarIcon_Open</font>)
<font color="#3A3966">      ToolBarStandardButton</font>(2, <font color="#924B72">#PB_ToolBarIcon_Save</font>)
<font color="#3A3966">      ToolBarToolTip</font>(0, 0, &quot;New document&quot;)
<font color="#3A3966">      ToolBarToolTip</font>(0, 1, &quot;Open file&quot;)
<font color="#3A3966">      ToolBarToolTip</font>(0, 2, &quot;Save file&quot;)
    <b><font color="#3A3966">EndIf</font></b>
    <b><font color="#3A3966">Repeat</font></b>
    <b><font color="#3A3966">Until</font></b> <font color="#3A3966">WaitWindowEvent</font>() = <font color="#924B72">#PB_Event_CloseWindow</font> 
  <b><font color="#3A3966">EndIf</font></b>
</font></pre>
<br>
<p><img src="../HelpPictures/toolbartooltip.png"></p>

</blockquote><p><b>See Also</b></p><blockquote>

<a href="toolbarstandardbutton.html">ToolBarStandardButton()</a>, <a href="toolbarimagebutton.html">ToolBarImageButton()</a>, <a href="toolbarseparator.html">ToolBarSeparator()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=toolbarstandardbutton.html>ToolBarStandardButton()</a> - <a href="index.html">ToolBar Index</a><br><br>

</body></html>